package com.example.mapper;

import com.example.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RegisterMapper {


    @Select("select * from emp where id = #{id}")
    Emp selectById(Integer id);

    Emp selectByUsername(String username);

    void insert(Emp emp);
}
